package com.example.shirodemo.demos.dao;

import com.example.shirodemo.demos.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserDAO {

    User getUserByUsername(String username);

    List<String> findRoleByUsername(String username);

    List<String> findPermissionByUsername(String username);
}
